<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<jsp:useBean id="databaseBean" scope="session"
	class="warehouse.DatabaseBean" />

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" href="layui/css/layui.css">
<script src="layui/layui.js"></script>
<script>
	layui.use('form', function() {
		var form = layui.form;
	});
</script>
</head>
<body>
	<div class="layui-row layui-col-space10">
		<div class="layui-col-md4"></div>
		<div class="layui-col-md4">
			<h1 style="text-align: center">登录页面</h1>
			<form class="layui-form" action="verify.jsp" method="post">
				<!-- 用户名 -->
				<div class="layui-form-item">
					<label class="layui-form-label">用户名</label>
					<div class="layui-input-inline">
						<input type="text" name="username" required lay-verify="required"
							placeholder="请输入用户名" autocomplete="off" class="layui-input">
					</div>
					<!-- 密码 -->
					<div class="layui-form-item">
						<label class="layui-form-label">密&nbsp;码</label>
						<div class="layui-input-inline">
							<input type="password" name="password" required
								lay-verify="required" placeholder="请输入密码" autocomplete="off"
								class="layui-input">
						</div>


					</div>
					<!-- 提交 -->
					<div class="layui-form-item">
						<div class="layui-input-block">
							<button class="layui-btn" lay-submit lay-filter="formDemo">登录</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</div>
				</div>
			</form>
		</div>
		<div class="layui-col-md4"></div>
	</div>

</body>
</html>